Get accounts V2 (v1)

Get accounts details V2. If originAccountId is provided, then only the account with that originAccountId will be returned.

Overview

Get accounts details V2. If originAccountId is provided, then only the account with that originAccountId will be returned.

GET (/internal/v2/parties/{partyId}/accounts)

Parameters

  • partyId (path) (required): Unique identifier for the party. See PartyId model.
  • originAccountId (query): Origin account identifier. See OriginAccountId model.

Responses

200 OK

400 Bad Request

Bad request response

404 Not Found

Not found error response

500 Internal Server Error

Internal server error response

Architecture

30 properties
accounts array [object]
7 properties

Bad request response

code string
Allowed values: urn:plmr:accounts:api:INTERNAL_SERVER_ERROR urn:plmr:accounts:api:BAD_REQUEST urn:plmr:accounts:api:RESOURCE_UNKNOWN urn:plmr:accounts:api:UNAUTHORIZED urn:plmr:accounts:api:FORBIDDEN urn:plmr:accounts:api:INVALID_PARAM urn:plmr:accounts:api:WEB_APPLICATION urn:plmr:accounts:api:ACCOUNT_NOT_FOUND urn:plmr:accounts:api:ILLEGAL_ENUM_VALUE
message string
requestId string
fieldErrors array [object]
3 properties

Not found error response

code string
Allowed values: urn:plmr:accounts:api:ACCOUNT_NOT_FOUND
message string
requestId string
7 properties

Internal server error response

code string
Allowed values: urn:plmr:accounts:api:INTERNAL_SERVER_ERROR urn:plmr:accounts:api:BAD_REQUEST urn:plmr:accounts:api:RESOURCE_UNKNOWN urn:plmr:accounts:api:UNAUTHORIZED urn:plmr:accounts:api:FORBIDDEN urn:plmr:accounts:api:INVALID_PARAM urn:plmr:accounts:api:WEB_APPLICATION urn:plmr:accounts:api:ACCOUNT_NOT_FOUND urn:plmr:accounts:api:ILLEGAL_ENUM_VALUE
message string
requestId string
fieldErrors array [object]